﻿<cfscript>
/** 
* ORM CET
* 
* @hint "Hibernate persistenter t_cet. 外语等级考试项目相关设定" 
* 
*/ 

component 
	displayname="public.service.orm.senate.CET" 
	output=false 
	persistent=true 
	selectBeforeUpdate=true dynamicInsert=true dynamicUpdate=true 
	cacheuse="Transactional" 
	entityname="CET" 
	table="t_cet"
	{

	property type="string" name="ExamID" column="exam_id" fieldtype="id" generator="assigned" hint="考试代码";

	property type="string" name="ExamName" column="exam_name" hint="正式考试名称";
	property type="string" name="DateStart" column="date_start" hint="报名开始日期";
	property type="string" name="DateEnd" column="date_end" hint="报名结束日期";
	property type="string" name="TimeStart" column="time_start" hint="当天开始时间";
	property type="string" name="TimeEnd" column="time_end" hint="当天结束时间";

	property type="string" name="GradesAllowed" column="grade_allowed" hint="年级要求";
	property type="string" name="InstituteAllowed" column="institute_allowed" hint="学院要求";
	
	property type="string" name="ExamProp" column="exam_prop" hint="该轮次选课相关属性";
	property type="numeric" name="ExamCharge" column="exam_charge" hint="考试费用";

	property type="numeric" name="ExamDate" column="exam_date" hint="考试日期";
	property type="numeric" name="ExamTime" column="exam_time" hint="考试时间";

}
	
</cfscript>